def count_letter():
  letter_count = {}
  for letter in 'Mississippi':
    letter_count[letter] = letter_count.get(letter, 0) + 1
  
  print(letter_count)
 
if __name__ == '__main__':
  count_letter()
  